//
//  ConstraintMakerRelatable+Ex.swift
//  APP
//
//  Created by Rdxer on 2017/12/29.
//  Copyright © 2017年 Rdxer. All rights reserved.
//

import Foundation
import SnapKit

extension ConstraintMakerRelatable{
//    @discardableResult
//    public func equalTo(_ other: ConstraintRelatableTarget, _ file: String = #file, _ line: UInt = #line) -> ConstraintMakerEditable {
//        return self.relatedTo(other, relation: .equal, file: file, line: line)
//    }
//
//    @discardableResult
//    public func equalToSuperview(_ file: String = #file, _ line: UInt = #line) -> ConstraintMakerEditable {
//        guard let other = self.description.item.superview else {
//            fatalError("Expected superview but found nil when attempting make constraint `equalToSuperview`.")
//        }
//        return self.relatedTo(other, relation: .equal, file: file, line: line)
//    }
    
//    @discardableResult
//    public func equalToPreviouViewBack(_ file: String = #file, _ line: UInt = #line) -> ConstraintMakerEditable {
//        guard let other = self.description.item.superview else {
//            fatalError("Expected superview but found nil when attempting make constraint `equalToSuperview`.")
//        }
//
//        return self.relatedTo(other, relation: .equal, file: file, line: line)
//    }
}
